package org.example.doctorapi.data;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@TableName("sys_menu")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SysMenu extends BaseDto implements Serializable {
    @TableId
    private int menu_id;
    private int parentId;
    private int parentIds;
    private String menuName;
    private String menuType;
    private String percode;
    private String path;
    private String status;
    private Date createTime;
    private Date updateTime;
    private String createBy;
    private String updateBy;

    public static final String MENU_ID = "menu_id";
    public static final String PARENT_ID = "parent_id";
    public static final String PARENT_IDS = "parent_ids";
    public static final String MENU_NAME = "menu_name";
    public static final String MENU_TYPE = "menu_type";
    public static final String PERCODE = "percode";
    public static final String PATH = "path";
    public static final String STATUS = "status";
    public static final String CREATE_TIME = "create_time";
    public static final String UPDATE_TIME = "update_time";
    public static final String CREATE_BY = "create_by";
    public static final String UPDATE_BY = "update_by";
}
